package com.imooc.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @Author Mr.Yang
 * @Date 2024-08-06 16:18
 * @question:
 */

@Component
@Data
@PropertySource("classpath:temp-jwt.properties")
@ConfigurationProperties(prefix = "auth")
public class JWTProperties {

    private String key;

}
